.class Lcom/waiqin365/h5/wqbluetooth/a;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/waiqin365/h5/wqbluetooth/WqBluetoothPrint;


# direct methods
.method constructor <init>(Lcom/waiqin365/h5/wqbluetooth/WqBluetoothPrint;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/h5/wqbluetooth/a;->a:Lcom/waiqin365/h5/wqbluetooth/WqBluetoothPrint;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/h5/wqbluetooth/a;->a:Lcom/waiqin365/h5/wqbluetooth/WqBluetoothPrint;

    invoke-virtual {v0, v1}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    iget-object v0, p0, Lcom/waiqin365/h5/wqbluetooth/a;->a:Lcom/waiqin365/h5/wqbluetooth/WqBluetoothPrint;

    invoke-static {v0}, Lcom/waiqin365/h5/wqbluetooth/WqBluetoothPrint;->a(Lcom/waiqin365/h5/wqbluetooth/WqBluetoothPrint;)Lorg/apache/cordova/WqCordovaActivity;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/h5/wqbluetooth/b;

    invoke-direct {v1, p0}, Lcom/waiqin365/h5/wqbluetooth/b;-><init>(Lcom/waiqin365/h5/wqbluetooth/a;)V

    invoke-virtual {v0, v1}, Lorg/apache/cordova/WqCordovaActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void
.end method
